package com.on.smile.service;

import com.on.smile.entity.UserEntity;

import java.util.List;

public interface UserService {

    /**
     * 、注册
     * @param user
     * @return
     */
    String register(UserEntity user);

    /**
     * 登录
     * @param username
     * @param password
     * @return
     */
   String login(String username, String password);
String deleteById(UserEntity userEntity);
    String updatePassword(UserEntity userEntity);
    List<UserEntity>selectByPage(Long page,Long size);
}
